<div app-header class="" left='' center='积分商城' right='商城规则' white='true' isapp='isapp'></div>
<div class="p-a" ng-style="{top:isapp?'0px':'44px'}">
    <div class="head-integral" >
        <div class="left-parent">
            <p class="p1">我的积分</p>
            <div class="total-integral" ng-click="toIntDetail()">
                <span class="p2" ng-bind="availableBonus">0</span>
                <img class="img—total-integral" src="image/integral/jf_jiantou.png" alt="" title="总积分">
            </div>
        </div>
        <div class="right-parent">
            <p class="integral-order" ui-sref="integral_order">
                <img src="image/integral/icon_order.png" alt=""><span>我的订单</span>
            </p>
        </div>
    </div>
    <div class="tab-integral">
        <div class="tab-left" ui-sref="integral_sign">
            <div class="right-line">
                <img src="image/integral/icon_sign_in.png" alt="">
                <div class="tab-text-l"><span class="tab-title ">每日签到</span> <span class="tab-content">完成签到获取积分</span></div>
            </div>
        </div>

        <div class="tab-right" ui-sref="daily_task">
            <img src="image/integral/icon_assignment.png" alt="">
            <div class="tab-text-r"><span class="tab-title">任务中心</span> <span class="tab-content"> 完成任务获取积分</span></div>
        </div>
    </div>
    <ul class="goods-list   bg-w"  ng-show="item.itemShow" ng-repeat="item in rows"><!---->
        <p class="goods-margin bg-f6" > </p>
        <p class="goods-type " ng-bind="item.typeName"></p>

        <li  class="goods-item  " ng-click="toDetail(good)"  ng-repeat="good in item.goods" >
            <div class="p-r goods-img-div ">
                <img  class="p-a goods-img" ng-src="{{good.fileUploadRecords[0].filePath}}" ng-style="{opacity:isSelloutGoods(good.remaining)?0.4:1}" alt="">
                <img  ng-show="isSelloutGoods(good.remaining)" class="p-a goods-sellout" src="image/integral/sell_out.png" alt="">
            </div>
            <p class="goods-name" ng-bind="good.goodsName" ng-style="{opacity:isSelloutGoods(good.remaining)?0.4:1}"></p>
            <div class="goods-info " ng-style="{opacity:isSelloutGoods(good.remaining)?0.4:1}">
                <span class="price"  ng-bind="good.discountPrice?good.discountPrice:good.originalPrice" ></span>
                <span class="price-unit" >&nbsp;积分</span>
                <span class="original-price"  ng-show="good.discountPrice" ng-bind="good.originalPrice" ></span>
                <div class="flex-1" >
                    <span class="f-r d-ib integral-goods-num"  ng-bind="'仅剩'+good.remaining+'份'" ></span>
                </div>
            </div>
        </li>
    </ul>
</div>



